    <!-- *** CUT top -->
    <table width="800"  border="0" cellspacing="0" cellpadding="0" class="form" id="vpage_top_table">
        <tr>
            <td align="left">
                <table width="100%"  border="0" cellspacing="0" cellpadding="0">
                    <tr>
                        <td>
                            <div class="form_title">VPage &quot;{$vpage->get_path()}&quot;</div>
                        </td>
                    </tr>
                </table>
            </td>
        </tr>
        <!-- If you don't want notes erase this START -->
        <tr>
            <td>
                <table width="100%"  border="0" cellspacing="0" cellpadding="0" class="form_note">
                    <!-- Repeat this fo additional notes START -->
                    <tr>
                        <td valign="top" align="left">
                            <table width="100%"  border="0" cellspacing="0" cellpadding="4" class="form_note_title">
                                <tr>
                                    <td><img src="img/modules/form_html_tpl_static_ajax_metallic/exclamation_mark.png" border="0" alt="icon exclamation mark"  width="16" height="16" /></td>
                                    <td width="100%" align="left">Note:</td>
                                </tr>
                            </table>
                        </td>
                        <td align="left" width="99%">
                            <div class="form_note_text">Fields marked with &quot;*&quot; are mandatory.</div>
                        </td>
                    </tr>
                    <!-- Repeat this fo additional notes END-->
                </table>
            </td>
        </tr>
        <!-- If you don't want notes erase this END -->
        <tr>
            <td>
                <div id="vpage">
                    <form onsubmit="submit_ajax_vpage(); return false;" action="admin/modules/tangra_cms/vpt/news_list/vpage_edit_news_list.php" method="post" name="vpage_form" enctype="application/x-www-form-urlencoded"  class="form">
                        <table width="100%" border="0" cellspacing="0" cellpadding="0">
                            <tr>
                                <td align="left">
                                    <table width="100%"  border="0" cellspacing="0" cellpadding="0" class="form_row">
                                        <tr>
                                            <td class="form_even_row">
                                                <!-- form_field_select vpage_category START-->
                                                <table width="100%" border="0" cellpadding="3" cellspacing="0" class="form_row">
                                                    <tr>
                                                        <td width="180">
                                                            <div align="right">Category*:</div>
                                                        </td>
                                                        <td width="1%">
                                                            <select class="form" name="vpage_category"  size="1" id="vpage_category">
                                                                {foreach from=$vpage_category_options item=option} 
                                                            <option value="{$option.html_value}"{if $option.selected} selected="selected"{/if}>{$option.label}</option>
                                                                {/foreach}                                                             
                                                            </select>
                                                        </td>
                                                        <td>&nbsp;</td>
                                                    </tr>
                                                    {if $vpage_category_has_error}
                                                    <!-- Potential errors START -->
                                                    {if $vpage_category_error_mandatory_missing}
                                                    <!-- mandatory_missing START -->
                                                    <tr>
                                                        <td></td>
                                                        <td colspan="2">
                                                            <div class="form_error_message">Error: Field is mandatory.</div>
                                                        </td>
                                                    </tr>
                                                    <!-- mandatory_missing END -->
                                                    {/if}
                                                    {if $vpage_category_error_invalid_value}
                                                    <!-- invalid_value START -->
                                                    <tr>
                                                        <td></td>
                                                        <td colspan="2">
                                                            <div class="form_error_message">Error: Invalid value.</div>
                                                        </td>
                                                    </tr>
                                                    <!-- invalid_value END -->
                                                    {/if}
                                                    <!-- Potential errors END -->
                                                    {/if}
                                                </table>
                                                <!-- form_field_select vpage_category END-->
                                            </td>
                                        </tr>
                                        <tr>
                                            <td class="form_odd_row">
                                                <!-- form_field_integer_positive vpage_items START-->
                                                <table width="100%" border="0" cellpadding="3" cellspacing="0" class="form_row">
                                                    <tr>
                                                        <td width="180">
                                                            <div align="right">Items per page:</div>
                                                        </td>
                                                        <td width="1%">
                                                            <input class="form" name="vpage_items" type="text" value="{$vpage_items_val}" maxlength="100" size="40" id="vpage_items" />
                                                        </td>
                                                        <td>
                                                            <div align="left"><span style="white-space:nowrap">Positive integer value.</span></div>
                                                        </td>
                                                    </tr>
                                                    {if $vpage_items_has_error}
                                                    <!-- Potential errors START -->
                                                    {if $vpage_items_error_mandatory_missing}
                                                    <!-- mandatory_missing START -->
                                                    <tr>
                                                        <td></td>
                                                        <td colspan="2">
                                                            <div class="form_error_message">Error: Field is mandatory.</div>
                                                        </td>
                                                    </tr>
                                                    <!-- mandatory_missing END -->
                                                    {/if}
                                                    {if $vpage_items_error_max_length_exceeded}
                                                    <!-- max_length_exceeded START -->
                                                    <tr>
                                                        <td></td>
                                                        <td colspan="2">
                                                            <div class="form_error_message">Error: Allowed maximum of {$items_max_length} characters exceeded.</div>
                                                        </td>
                                                    </tr>
                                                    <!-- max_length_exceeded END -->
                                                    {/if}
                                                    {if $vpage_items_error_not_a_number}
                                                    <!-- not_a_number START -->
                                                    <tr>
                                                        <td></td>
                                                        <td colspan="2">
                                                            <div class="form_error_message">Error: Must be number.</div>
                                                        </td>
                                                    </tr>
                                                    <!-- not_a_number END -->
                                                    {/if}
                                                    {if $vpage_items_error_not_an_integer}
                                                    <!-- not_an_integer START -->
                                                    <tr>
                                                        <td></td>
                                                        <td colspan="2">
                                                            <div class="form_error_message">Error: Must be integer value.</div>
                                                        </td>
                                                    </tr>
                                                    <!-- not_an_integer END -->
                                                    {/if}
                                                    {if $vpage_items_error_integer_not_positive}
                                                    <!-- integer_not_positive START -->
                                                    <tr>
                                                        <td></td>
                                                        <td colspan="2">
                                                            <div class="form_error_message">Error: Value must be positive.</div>
                                                        </td>
                                                    </tr>
                                                    <!-- integer_not_positive END -->
                                                    {/if}
                                                    <!-- Potential errors END -->
                                                    {/if}
                                                </table>
                                                <!-- form_field_integer_positive vpage_items END-->
                                            </td>
                                        </tr>
                                    </table>
                                    <input type="hidden" name="vpage_form_id" value="{$vpage_form_id_val}" id="vpage_form_id"/>
                                    <input type="hidden" name="vpage_guard_value" value="{$vpage_guard_value_val}" id="vpage_guard_value"/>
                                </td>
                            </tr>
                            <tr>
                                <td align="left">
                                    <table width="100%" border="0" cellpadding="0" cellspacing="0" class="submit_row">
                                        <tr>
                                            <td width="180">&nbsp;</td>
                                            <td width="100" align="left">
                                                <input name="vpage_submit" type="submit" value="Save" class="form_submit" />
                                            </td>
                                            <td width="50">&nbsp;</td>
                                            <td>
                                                <div class="form_cancel"><a href="admin/modules/tangra_cms/vpt/news_list/vpage_man_news_list.php?manage={$vpage_obj_id}">Cancel</a></div>
                                            </td>
                                        </tr>
                                    </table>
                                </td>
                            </tr>
                        </table>
                    </form>
                </div>
            </td>
        </tr>
    </table>
    <!-- *** CUT bottom -->
